package lesson2.com.animals;

public class SerenghettiLion extends Lion{
    
    public SerenghettiLion(){
        //super("wild lion with no name");
        this("wild lion with  no name");  // if a this() call is present
                                    // compiler will NOT insert a super() call
       
    }
    
    public SerenghettiLion(String name){
        this(name, 0);  // the default value for someIntValue
    }
    
    public SerenghettiLion(String name, int someIntValue){
        super(name);
        // do something with someIntValue
        
        // all three below resolve to the method declared in ancestor Feline
        super.felineMethod();
        this.felineMethod();
        felineMethod();
        
        // 200 lines of code to build a SerenghettiLion
    }

}
